package com.ywk.pattern._14_observer._14_4;


public class Main {
    public static void main(String[] args) {
        Subject secretary = new Secretary();
        Observer stockObserver1 = new StockObserver("��", secretary);
        Observer stockObserver2 = new StockObserver("��", secretary);

        secretary.Attach(stockObserver1);
        secretary.Attach(stockObserver2);

        secretary.SubjectState = "�ϰ������";
        secretary.Notify();


    }
}
